working with Java Object and JSON (post)