Sync method and active model serializer for unix timestamps in json