added maven profile build and fixed json to java conversion
added maven profile build