Move the libs dependency to core.
Automate JSON marshaller generation of domain class.