Java class for simple Json configuration