Fix map to json tests

This should prevent them from failing