fixes #19 - use _put/_post with javatype argument