json serializer supports datetime