Implement php_json_buffer_get_block