again making java/json compatible