tidied up tags api and added serializers