Java EE - easiest way to output some JSON formatted data from database