updated code to handle parsing of the related items content types for
json data. also updated the remaining entity objs to fit into the
visitor pattern.