better handling of integer timestamps
support posting JSON content