ensure json_encodification when creating