Integration with services-views for nested entity references

This allows entity-references in services views to be returned as 
a json dictionary.