Updated the configuration to be java configuration

- Also fixed an issue with List<Object> and Object properties were not
  rendered correctly

Closes #49, Fixes #67