adding .json response for galleries