more work on json conversion.
test binary.
add object id.
add bool