Update cocoa pods and fix usage of JSON serializer