add code to fetch attributes from POR for the json serializer
add code to serialize pure ruby objects or objects implementing the attributes method