add JAVA_OPTS to env.sh; add json output to ead_parse script.