Fixed syntax errors, switch plugin result to dictionary data