Changing method for reading /schema.json from Rails