Update to JMS Serializer 0.12

Required some changes because of the BC break with the `context`