cleaned up the attribute names for json objects in database.