Troubles with passing and receiving turn actions JSON