What do you think about a class method on the Metadata class to build this? So, could do Metadata.build(link, response).to_json below (or have it return json)