Fixed warnings and allow persist & merge for both post & put.
Make JSON as default producer & consumer..
Resolved Warnings in netbeans.