refactor for performance
repo
fix headers
add jackson for test