Updated phalcon_json_encode