updated library and adventures controller to add json.format