Proof of concept for automating a mac app with JSON wire protocol