Merge vitalyeremenko's linux code
Linux - use JSON strings and add new commands