extracted rest service call for reading an entity into an entity reader component for reuse.