Fix a warning (use returnJson instead of jsonToRepJson)