fixed getReport ajax with json_api