Translation maps from int to string for Agent

Maps to translate agent states and agent use_address schemes from a
magic number (as used in the db) to a talking string (as used in the api)