Support 1.6 JSON session serializer (closes #386)