reworked profile api, standardized on JSON posting, reduce a bit of overhead and user array comp to clean up serialize/deserialize code