refactored and moved json formatters to its own package, added types for DockerStatusMessage