CLoses #41 and Closes #37 fix filtering error and transform into serializable object