Move unit test for JsonSerializer to serializers directory

The test for the RESTSerializer already is in this directory so this
change adds some consistency.
Merge pull request #886 from pangratz/move_json_serializer_test

Move unit test for JsonSerializer to serializers directory