Saves state against an entity in MongoDB with simple constants and helper methods