Add JSON support to Nexus client

Signed-off-by: Alin Dreghiciu <adreghiciu@gmail.com>