Only use net.minidev for testing
Actually add the MDC node to the json response
Remove dead code and make field variables local