added test to show json mapping