Adding json directive to rabbit properties