xml and json serializers matching fragments with action parameters