added deprecation notice and backward compatibility for json output