better error reporting on the convert function in case someone passes str objects
better error reporting on the convert function in case someone passes str objects

imtapps/authorize,simplegeo/authorize