Refactoring of Object Factory. Enable JSON support.
Adding metadata to ignore for eclipse luna