Added an extra property "jsontype" to wrap the type and convert it to lowercase. All tests pass now.