Some works on CLI app, export JSON/PHP