Use Jeroen Ooms' (jsonlite) approach as default.