REST API: switched to Jackson as JSON Provider
REST API: cleaned up a lot of stuff to have more elegant code