Uses gson instead of javax.json which was added in EE 1.7.