name of field as json tag
fix unsafe mode
added time tag and fix error response