Fix #1170 - Implement 'afj' command to show function info in JSON