Added some adapters for Json -> Java conversion