fixes bugs with related resources in data api
fixes bugs with related resources in data api

MAPC/warren-st-development-database,MAPC/warren-st-development-database,MAPC/developmentdatabase-python,MAPC/developmentdatabase-python