Refactored json serialization to prepare for new format
Switched to Java8
Simplified configuration management with lambdas
Added deserialization test