Similar questions | JSON and generic type safety warnings in Java