fixed json showing for apidocs