FIX: change initObjToJSON return type

This is necessary because clang complains about the return type. There's a call
to the macro import_array() which injects a return statement into wherever it's
used.