Fixed additional PHP 5.3 bugs and cleaned the response converters for api calls