A handler for json, which fixes the issues of predictability and error handling connected with the use of the php-json library.