Fix for devices.  Needed to refactor get and list functions because of
hibernate using lazy initializing of reading type.  Needed to migrate
over to JSON (value) objects to be returned