Adding integration test for jackson generator; fixing compilation bugs caused by invalid code generation