fixes json conversion in tests