Created model method to handle existing cache-key generation
DRY-ed all json.dump with little buisness value.