serialize imageUrl into JSON, mvn glassfish deployment config