General REST API clean up - centralizing log tags and getting common objects